package cn.tedu.fengyuback.personal.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
public class QuestionVO {
    @ApiModelProperty(value = "id")
    private Long id;
    @ApiModelProperty(value = "发布用户的id")
    private Long userId;
    @ApiModelProperty(value = "问题")
    private String content;
    @ApiModelProperty(value = "问题类别")
    private String questionCategory;
    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date createTime;
    @ApiModelProperty(value = "问题回答数")
    private String articles;
    @ApiModelProperty(value = "问题关注数")
    private String questionsFollows;
    @ApiModelProperty(value = "问题浏览量")
    private String views;
    @ApiModelProperty(value = "问题关注状态")
    private String questionsFollowStatus;
}
